package com.base.mvp.bean

import com.base.mvp.annotations.PoKo
import com.base.mvp.di.components.DaggerCarComponent
import com.base.mvp.di.modules.CarModule
import javax.inject.Inject

/**
 * @author Administrator
 * @date 2018/1/24 0024 下午 4:47
 * GitHub：
 * email：
 * description：
 */

@PoKo
class Car {
    @Inject
    lateinit var engine: Engine

    @Inject
    lateinit var seat: Seat

    @Inject
    lateinit var wheel: Wheel

    init {
        DaggerCarComponent
                .builder()
                .carModule(CarModule())
                .build()
                .inject(this)
    }
}